package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CChangeinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CChangeinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CChangeinfoService;



@Service("cChangeinfoService")
public class CChangeinfoServiceImpl implements CChangeinfoService {
	@Autowired
	private CChangeinfoDao cChangeinfoDao;
	
	@Override
	public CChangeinfoEntity queryObject(Integer id){
		return cChangeinfoDao.queryObject(id);
	}
	
	@Override
	public List<CChangeinfoEntity> queryList(Map<String, Object> map){
		return cChangeinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cChangeinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CChangeinfoEntity cChangeinfo){
		cChangeinfoDao.save(cChangeinfo);
	}
	
	@Override
	public void update(CChangeinfoEntity cChangeinfo){
		cChangeinfoDao.update(cChangeinfo);
	}
	
	@Override
	public void delete(Integer id){
		cChangeinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cChangeinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cChangeinfoDao.delete(entname);
		
	}
}
